<div class="content_sidebar left_element">
	<!-- Start Left Title -->
	<div class="title_left_sidebar">
		<div class="text_title">
			<?php __("Menu")?> 
		</div>
		<div class="button_scroll">
			
		</div>
	</div>
	<!-- End Left Title -->
	<!-- Start Left Menu -->
	<div id="menu_left">
		<div class="menu_list_category" id="firstpane_category"> <!--Code for menu starts here-->
			<ul>
				<li class="sub_menu">
					<div class="item_menu">
						<?php echo $html->image('icon_leftmn_02.png', array('border' => 0));?>
					</div>
					<p class="menu_head_category"><?php __("Quản lý trang tĩnh")?></p>
					<div class="menu_body_category" style="display: block;">
					<?php 
					$records = ClassRegistry::init('static_pages.StaticPage')->find('all', array(
						'order'	=> 'created desc',
					));
					?>
					<ul>
						<?php foreach ($records as $record):?>
						<li class="sub_menu">
							<p class="menu_head_category sub_leftmn_lv3">
								<a href='<?php echo $html->url(array('plugin' => 'static_pages', 'controller'=>'edit_page', 'action'=>'update', $record['StaticPage']['alias']))?>'>
									<?php echo $html->image('l_arrow_congvan.png', array('border' => 0));?>
									<?php echo $record['StaticPage']['title']?>
								</a>
							</p>
						</li>
						<?php endforeach;?>
					</ul>
					</div>
				</li>
			</ul>
		</div>
	</div>
	<!-- End Left Menu -->
	<div class="clear"></div>
</div>